/*
 * sort.cpp
 *
 *  Created on: 28 Nov 2013
 *      Author: to
 */

int SortDeg(int *CutNumm, int iBeg, int iEnd)
{

int i,j;
int ibuffer;
for (i=0;i<sizeof(Sortmatrix)-1;i++))
{
	for (j=i+1;j<sizeof(Sortmatrix;j++))
	{
		if (SortMatrix[i] > SortMatrix[j])
		{
			ibuffer = SortMatrix[i];
			SortMatrix[i]=SortMatrix[j];
			SortMatrix[j]=ibuffer;
		}
	}
}
return 0;
}

